package com.example.demo.client.evt.sysbasequery;

import com.ffcs.oss.param.in.QueryPageEvt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Description:
 *
 * @Author zmf
 * @Date 2018/12/17  15:02
 */
@ApiModel("角色关联用户查询参数")
public class GetRoleRelateUserEvt extends QueryPageEvt implements Serializable {
    private static final long serialVersionUID = -219872856053385910L;
    @ApiModelProperty(value = "角色ID")
    private Long roleId;
    @ApiModelProperty(value = "用户名")
    private String userName;
    @ApiModelProperty(value = "电话号码")
    private String phone;
    @ApiModelProperty(value = "关联方式")
    private Integer relatedType;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getRelatedType() {
        return relatedType;
    }

    public void setRelatedType(Integer relatedType) {
        this.relatedType = relatedType;
    }

    @Override
    public String toString() {
        return "GetRoleRelateUserEvt{" +
            "roleId=" + roleId +
            ", userName='" + userName + '\'' +
            ", phone='" + phone + '\'' +
            ", relatedType=" + relatedType +
            '}';
    }
}
